$name: 'search-inner';

:deep(em) {
  font-style: normal;
  color: #ff5959;
}

@include b($name) {
  margin: 14px 0;
  padding: 0 14px;
  box-sizing: border-box;
  height: 400px;
  overflow-y: auto;
  @include scroll-bar();

  @include e(list) {
    min-height: 400px;
    :deep(.vc-loading-spinner) {
      top: unset;
      bottom: calc(186px - 10px);
      margin-top: unset;
    }
    @include e(result-wrapper) {
      position: relative;
      padding-bottom: 8px;
      &:not(:last-child) {
        margin-bottom: 10px;
        border-bottom: 1px solid #f6f6f6;
      }
      @include e(name) {
        padding-right: 66px;
        font-size: 15px;
        line-height: 19px;
        cursor: pointer;
      }
      @include e(labels) {
        margin-top: 8px;
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        @include e(label) {
          padding: 0 6px;
          display: inline-flex;
          align-items: center;
          height: 20px;
          font-size: 11px;
        }
      }
      @include e(match) {
        margin-top: 10px;
        font-size: 13px;
        @include e(match-label) {
          color: #8b8c8c;
        }
      }

      @include e(monitored) {
        position: absolute;
        top: 0;
        right: 2px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        width: 52px;
        height: 20px;
        font-size: 12px;
        color: #999;
        border: 0.5px solid #e3e3e3;
        border-radius: 2px;
      }

      @include e(monitor) {
        position: absolute;
        top: 0;
        right: 2px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        width: 52px;
        height: 20px;
        font-size: 12px;
        color: #008ef4;
        border: 0.5px solid #008ef4;
        border-radius: 2px;
        cursor: pointer;
        @include e(monitor-icon-add) {
          display: inline-block;
          width: 9px;
          height: 9px;
          background-image: url('@/assets/add_blue.png');
          background-size: 100% 100%;
          background-repeat: no-repeat;
        }
      }
    }
  }

  @include e(title) {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #000;
    @include e(icon-delete) {
      display: inline-block;
      width: 16px;
      height: 16px;
      cursor: pointer;
      background-image: url('@/assets/delete.png');
      background-size: 100% 100%;
      background-repeat: no-repeat;
    }
  }

  @include e(wrapper) {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    @include e(item) {
      display: inline-flex;
      align-items: center;
      padding: 8px;
      font-size: 13px;
      font-weight: 400;
      color: #666666;
      line-height: 16px;
      background: #FFFFFF;
      border-radius: 4px 4px 4px 4px;
      opacity: 1;
      border: 1px solid #E3E3E3;
      cursor: pointer;
    }
  }

  @include e(hot) {
    margin-top: 24px;
  }
}
